package com.keymozy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Model {
    private Integer id;
    private String mname;
    private Integer maintain;//保养时间
    private String maker;//制造商
    private Integer num;
    private Double height;
    private Double width;
    private Double len;
    private String type;
    private String lifetime;//使用寿命
    private Double cost;
    private Integer zid;
    private String image;
    private String product;

    @TableField(exist = false)
    private Boolean state;

    @TableField(exist = false)
    private String szname;

    @TableField(exist = false)
    private Zone zone;

    @TableField(exist = false)
    private MChild mc;


    @TableField(exist = false)
    private List<MChild> children;

}
